package com.deng.common.dao;

import java.util.List;

import com.deng.common.vo.HisOrganizationVo;
import com.deng.common.vo.OperateDepartmentVo;
import com.deng.common.vo.OrganizationVo;

public interface IOperateDepartment {

	public List<OperateDepartmentVo> getOperateDepartmentListByCode(String code);
	public OperateDepartmentVo getOperateDepartmentById(Integer id);
	public List<OperateDepartmentVo> addAndGetOperateDepartmentList(OperateDepartmentVo vo);
	public List<OperateDepartmentVo> updateAndGetOperateDepartmentList(OperateDepartmentVo vo);
	public List<OperateDepartmentVo> deleteAndGetOperateDepartmentList(OperateDepartmentVo vo);
	
	public String getOperateDepartmentOriginalCode(OperateDepartmentVo vo);
	public void addOrUpdateOperateDepartmentOriginalCode(OperateDepartmentVo vo);
	
	public List<OrganizationVo> getOperateDepartmentOrganizationCode(OperateDepartmentVo vo);
	public void addOrganizationCode(OrganizationVo vo);
	public void deleteOrganizationCode(OrganizationVo vo);
	
	public OperateDepartmentVo updateOperateFunction(OperateDepartmentVo vo);
}
